Xbasic

a5_globalSetting_get Function

Syntax

dim value as C = a5_globalSetting_get(settingName as C)

Arguments

settingNameCharacter

The name of the setting to read.

Returns

resultCharacter

Returns the stored value of the setting. If the setting doesn't exist, returns an empty string.

Description

Reads a setting from the Global Settings table.

Discussion

The a5_globalSetting_get() function reads a setting from the Global Settings table.

The Global Settings table must be configured to use this function in your web applications.

Example

dim settingName as c = "test"
dim existingValue as c
existingValue = a5_globalSetting_get(settingName)
? existingValue
= "This is my test value."

Limitations

Requires Global Settings Table

See Also